Skip to content

Instantly share code, notes, and snippets.

@bradtraversy
bradtraversy / mysql_cheat_sheet.md
Last active October 20, 2026 22:05
MySQL Cheat Sheet

MySQL Cheat Sheet

Help with SQL commands to interact with a MySQL database

MySQL Locations

  • Mac /usr/local/mysql/bin
  • Windows /Program Files/MySQL/MySQL version/bin
  • Xampp /xampp/mysql/bin

Add mysql to your PATH

@aamiaa
aamiaa / CompleteDiscordQuest.md
Last active October 20, 2026 22:03
Complete Recent Discord Quest

Caution

As of August 26th 2026, Discord has started suspending quest access of people caught automating quest completion.

Some users have received the following system message:

image

There isn't much I can do to make the script undetected, so use it at your own risk, as you WILL get flagged by doing so.

Complete Recent Discord Quest

@WildeBeast2521
WildeBeast2521 / tunnel-to-wg.md
Created June 16, 2025 07:06
A guide to use Cloudflare Tunnel with WireGuard client application
@nseba
nseba / xterm-ghostty-terminal-type.md
Created June 4, 2026 08:28
Fixing `'xterm-ghostty': unknown terminal type` over SSH

Fixing 'xterm-ghostty': unknown terminal type over SSH

When connecting to a remote host with Ghostty, commands like clear, tmux, or less may fail with:

'xterm-ghostty': unknown terminal type.

This happens because the remote host doesn't have Ghostty's terminfo entry. Here are

LLM Wiki

A pattern for building personal knowledge bases using LLMs.

This is an idea file, it is designed to be copy pasted to your own LLM Agent (e.g. OpenAI Codex, Claude Code, OpenCode / Pi, or etc.). Its goal is to communicate the high level idea, but your agent will build out the specifics in collaboration with you.

The core idea

Most people's experience with LLMs and documents looks like RAG: you upload a collection of files, the LLM retrieves relevant chunks at query time, and generates an answer. This works, but the LLM is rediscovering knowledge from scratch on every question. There's no accumulation. Ask a subtle question that requires synthesizing five documents, and the LLM has to find and piece together the relevant fragments every time. Nothing is built up. NotebookLM, ChatGPT file uploads, and most RAG systems work this way.

@ruvnet
ruvnet / claude-code-mods-guide.md
Created October 2, 2026 00:55
Claude Code Mods: a field guide — build plugins that hook the engine, add commands and tools, and draw their own UI (panes, colour graphics, animation). By ruvnet.

Claude Code Mods: a field guide

How to build Claude Code mods: plugins that hook the engine, add commands and tools, and draw their own UI inside Claude Code, from status lines to animated panes.

By ruvnet. Written from building and shipping a real mod, with every pitfall we hit included.

Early access. Mods (function hooks) are an early-access Claude Code feature, and the API moves between releases. Your build writes its own type definitions next to every mod you load (see Setup), and those types are the authority. Grep them before you trust any guide, this one included.

Throughout this guide:

  • 🧪 Field-tested means we did it in a shipped mod and saw it work (or break) for real.
@imintheclub
imintheclub / aiometadata-catalogs-starter-config.json
Created October 20, 2026 11:32
AIOMetadata Starter Configuration (~1000 TMDB, TVDB, MDBList catalogs)
{
"version": "3.6.0",
"config": {
"catalogs": [
{
"id": "mdblist.official.justwatch-streaming-charts",
"type": "movie",
"name": "Top 100 Today",
"enabled": true,
"showInHome": true,
@karpathy
karpathy / microgpt.py
Last active October 20, 2026 21:43
microgpt
"""
The most atomic way to train and run inference for a GPT in pure, dependency-free Python.
This file is the complete algorithm.
Everything else is just efficiency.
@karpathy
"""
import os # os.path.exists
import math # math.log, math.exp
@fnky
fnky / ANSI.md
Last active October 20, 2026 21:41
ANSI Escape Codes

ANSI Escape Sequences

Standard escape codes are prefixed with Escape:

  • Ctrl-Key: ^[
  • Octal: \033
  • Unicode: \u001b
  • Hexadecimal: \x1B
  • Decimal: 27